module.exports = {
    TABLE_NICK_NAME: '教师管理表', // 表的昵称
    TABLE_DESC: '教师表', // 表的描述
    user_id: {
        type: "input",
        data_type: "VARCHAR(255)",
        attr: {
            type: 'text',
        },
        label: "user_id",
        rule: {
            MaxLength: 255,
            MinLength: 1,
            NotNull: true,
        },
    },
    name: {
        type: "input",
        data_type: "VARCHAR(255)",
        attr: { type: "text" },
        label: "姓名",
        rule: {
            MaxLength: 255,
            MinLength: 1,
            NotNull: true,
        }
    },
    title: {
        type: "input",
        data_type: "VARCHAR(255)",
        attr: { type: "text" },
        label: "教师职称（如教授、讲师）",
        rule: {
            MaxLength: 255,
            MinLength: 1,
            NotNull: true,
        }
    },
    college: {
        type: "input",
        data_type: "VARCHAR(255)",
        attr: { type: "text" },
        label: "所属学院",
        rule: {
            MaxLength: 255,
            MinLength: 1,
            NotNull: true,
        }
    },
    email: {
        type: "input",
        data_type: "VARCHAR(255)",
        attr: { type: "text" },
        label: "邮箱",
        unList: true,
        unique: true,
        rule: { "Email": true }
    },
    phone: {
        type: "input",
        data_type: "VARCHAR(255)",
        "attr": { "type": "number" },
        label: "手机号码",
        unList: true,
        unique: true,
        rule: { "Phone": true }
    },
};
